<template>
  <div class="dashboard-container">
    <div class="dashboard-left">我的项目</div>
    <div class="dashboard-right">新手指南</div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'username',
      'userRoles'
    ])
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard {
  &-container {
    margin: 20px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
    color: black
  }
  &-left {
    width: 78%;
    height: 100%;
    float: left;
    background-color: white
  }
  &-right {
    width: 20%;
    height: 100%;
    float: right;
    background-color: white
  }
}
.carousel {
  width: 100%;
  height: 400px;
}
.el-carousel__item img {
  opacity: 0.75;
  height: 400px;
  margin: 0;
}

// .el-carousel__item:nth-child(2n) {
//   background-color: #99a9bf;
// }

// .el-carousel__item:nth-child(2n+1) {
//   background-color: #d3dce6;
// }
</style>
